import { request } from './request'

export function RegisterForm(data) {
    return request().post('/admin/store/register', data)
}
export function LoginForm(data) {
    return request().post('/admin/store/login', data)
}
// export function logout() {
//     return request().post('/admin/store/logout')
// }


export function PageList(params) {
    return request().get('/admin/store/pagelist', { params })
}

export function ChangeStatus(id, status) {
    return request().put(`/admin/store/changestatus/${id}`, {}, { params: { status } })
}
export function ChangeVerify(id, verify) {
    return request().put(`/admin/store/changeverify/${id}`, {}, { params: { verify } })
}